home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-07-07 | 627 b | 32 lines |
- # makefile for ippon.x
-
- CC = gcc
- CFLAGS =
- #CFLAGS = -O -fomit-frame-pointer -fstrength-reduce -fforce-mem -fforce-addr -fcombine-regs
- AS = has
- LD = hlk
- INC =
- LIBS = libc.a libgnu.a libdos.a libiocs.a xsp2lib.o
- LZH = ippon006
-
- %.o: %.c
- $(CC) $(CFLAGS) -c $<
-
- all: ippon.x maketbl.x
-
- ippon.x: main.o player.o shot.o enemy.o
- $(LD) $^ -o $@ -l $(LIBS)
-
- main.o: main.c main.h player.h shot.h enemy.h
- player.o: player.c main.h player.h shot.h
- shot.o: shot.c main.h player.h shot.h
- enemy.o: enemy.c main.h player.h enemy.h
-
- maketbl.x: maketbl.o
- $(LD) $^ -o $@ -l $(LIBS)
-
-
- dist:
- LHA a -t ../$(LZH)
-
-